package top.dfghhj.anhanx.oauth.dao.impl;

import org.springframework.stereotype.Repository;
import top.dfghhj.anhanx.oauth.dao.SysRoleDao;
import top.dfghhj.anhanx.oauth.entity.DO.SysRole;
import top.dfghhj.anhanx.oauth.mapper.SysRoleMapper;

import javax.annotation.Resource;

@Repository
public class SysRoleDaoImpl implements SysRoleDao {

    @Resource
    private SysRoleMapper sysRoleMapper;


    @Override
    public SysRole findById(Long roleId) {
        return sysRoleMapper.findById(roleId);
    }
}
